package com.hopu.pyq.service.impl;

import com.hopu.pyq.dao.PyqDAO;
import com.hopu.pyq.entity.Pyq;
import com.hopu.pyq.service.PyqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PyqServiceImpl implements PyqService {

    @Autowired
    private PyqDAO pyqDAO;

    @Override
    public List<Pyq> findAllPyq() {
        return pyqDAO.selectAllPyq();
    }
}
